/* Reset global margin, padding, and font-weight */
* {
  margin: 0;
  padding: 0;
  font-weight: normal; /* 330 is non-standard, normal or specific weight (400) is more common */
}

/* Body styling */
body {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #fefefe;
}

.page-content {
  margin-top: 80px;
  margin-bottom: 10px;
}

.offcanvas-header.sidebar {
  padding-bottom: 0px;
}

.offcanvas-body {
  padding-top: 0px;
}

.loan-apply.button {
  background-color: #cd171f;
  color: #ffffff;
  border-radius: 6px;
  padding: 5px 15px;
  margin-left: 10px;
  height: 35px;
  position: relative;
  float: left;
  left: 10px;
}

/* Responsive styling for screens 990px and below */
@media screen and (max-width: 600px) {
  .loan-apply.button {
    background-color: #cd171f;
    color: #ffffff;
    border-radius: 6px;
    padding-left: 13px;
    padding-right: 13px;
    padding-top: 5px;
    margin-left: -1px;
    width: 135px;
    height: 35px;
  }
}

/* Responsive styling for screens 990px and below */
@media screen and (max-width: 990px) {
  .loan-apply.button {
    float: none;
    left: 0;
    display: block;
    width: 40%;
    margin: 10px 0;
    text-align: center;
  }
}

/* Navbar icon styling */
.nav-icon {
  padding: 0.1rem;
  font-size: 160%;
}

/* Navbar styling */
.navbar {
  background-color: #ffffff;
  height: 75px;
  margin: 0;
  border-radius: 2px;
  padding: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Navbar brand */
.navbar-brand {
  font-weight: 600;
  color: #000000;
  font-size: 10px;
  transition: 0.3s color;
  height: 75px;
  position: relative;
  bottom: 20px;
}

/* Navbar toggler (hamburger icon) */
.botton.navbar-toggler.pe-0 {
  border: none;
  font-size: 1rem;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath stroke="rgba%280, 0, 0, 0.7%29" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.navbar-toggler:focus,
.btn-close:focus {
  box-shadow: none;
  outline: none;
}

/* Navbar link styling */
/* Premium navbar link underline effect */
.nav-link {
  color: #000000;
  font-weight: 400;
  position: relative;
  padding: 0.5rem;
  display: inline-block;
  transition: color 0.3s ease;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 1px;
  background: linear-gradient(to right, #c72027, #ff1e00); /* Gradient effect */
  visibility: hidden;
  transition: width 0.4s ease, visibility 0s 0.4s; /* Smooth transition */
}

/* Hover state with a smooth and subtle underline expansion */
.nav-link:hover::before,
.nav-link:active::before {
  width: 85%;
  visibility: visible;
  transition: width 0.4s ease, visibility 0s; /* Animate the expansion */
}

/* Optionally, add a hover effect on the text itself to complement the underline */
.nav-link:hover {
  color: #c72027; /* Change text color to match the underline on hover */
}

/* Dropdown item hover and active states */
.dropdown-item:hover,
.dropdown-item:active {
  color: #c72027;
}

/* Dropdown item underline effect */
.dropdown-item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #aa2525;
  visibility: hidden;
  transition: 0.3s ease-in-out;
}

/* Dropdown item active underline */
.dropdown-item::before,
.dropdown-menu:active::before {
  width: 100%;
  visibility: visible;
}

/* Dropdown menu display on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

.loan-apply.button i {
  margin-right: 6px;
}

h5 {
  color: white;
  font-size: 22.5px;
}

p {
  margin: 0;
}

.fa-brands,
.fab {
  font-size: 24px;
  margin-right: 2px;
}

.card:hover {
  -webkit-box-shadow: 3px 5px 17px -4px #777777;
  box-shadow: 3px 5px 17px -4px #777777;
}

.text-uppercase.mb-4.font-weight-bold {
  font-weight: 700;
}

.fa-share-alt.share-icon {
  height: 35px;
  width: 35px;
  background-color: #cd171f;
  color: #fff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  float: left;
  left: -2px;
  position: absolute;
  top: 550.5px;
  box-shadow: 7px 0px 7px 0px rgba(0, 0, 0, 0.1);
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

.fa-share-alt.share-icon::before {
  position: absolute;
  top: 4px;
  font-size: 18px;
  font-weight: 600;
  left: 8px;
}

.object-fit-cover {
  object-fit: cover;
  height: 250px; /* adjust as needed */
}
